package com.epichust.bootumpp.service.impl;

import com.epichust.bootumpp.model.dao.Umpp5WorkOrderDao;
import com.epichust.bootumpp.model.entity.Umpp5WorkOrder;
import com.epichust.bootumpp.service.IUmpp5WorkOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
//@Async("taskExecutor")
@Transactional
public class Umpp5WorkOrderServiceImpl implements IUmpp5WorkOrderService {

    @Autowired
    private Umpp5WorkOrderDao umpp5WorkOrderDao;

    @Override
    public List<Umpp5WorkOrder> getAllUmpp5WorkOrder(Map<String, String> map) {
        List<Umpp5WorkOrder> list = umpp5WorkOrderDao.getAllUmpp5WorkOrder(map);
        return list;
    }

}
